package com.beidouapp.esb.pojo;

import java.util.Date;

import javax.xml.bind.annotation.XmlRootElement;

/**
 *	通用应答对象
 */
@XmlRootElement(name = "CommonResponse")
public class CommonResponse {
    private long errorcode;//返回码  
    private String message;//提示信息
    private long date = new Date().getTime();
	public long getErrorcode()
	{
		return errorcode;
	}
	public void setErrorcode(long errorcode)
	{
		this.errorcode = errorcode;
	}
	public String getMessage()
	{
		return message;
	}
	public void setMessage(String message)
	{
		this.message = message;
	}
	
	public long getDate()
	{
		return date;
	}
	public void setDate(long date)
	{
		this.date = date;
	}
	public CommonResponse(long errorcode, String message, long date)
	{
		super();
		this.errorcode = errorcode;
		this.message = message;
		this.date = date;
	}
	public CommonResponse()
	{
		super();
	}
	
	
}
